package com.ruoyi.project.app.request;

import com.ruoyi.project.app.intercepter.FilterModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@FilterModel
@ApiModel(value = "FaceVerifyRequest")
public class FaceVerifyRequest {

    @NotBlank(message = "人脸文件不能为空")
    @ApiModelProperty(value = "人脸文件", required = true)
    private String fileBase64;

//    @NotNull(message = "人脸文件不能为空")
//    @ApiModelProperty(value = "人脸文件", required = true)
//    private MultipartFile file;
}
